
*{
    margin: 0;
    padding: 0;
}
a{
    color: rgba(3, 3, 3, 1);
    text-decoration: none;
}
ul{
    list-style: none;
}
.clearfix::after{
    content: "";
    display: block;
    clear: both;
}

main{
    width: 100%;
    flex-grow: 1;
    padding-top: 10px;
}

main .nav{
    margin: 0 auto;
    width: 1050px;
    border-top: 1px solid red;
    border-bottom: 1px solid red;
    padding: 10px 0; 
}
main .nav ul li{
    float: left;
    margin-right: 20px;
}

main .nav ul .nav-right{
    float: right;
}
main .nav ul li a{
    color: black;
}
main .nav ul li a:hover{
    color: red;

}

main .home-index{
    margin: 0 auto;
    width: 1050px;
    padding-top: 20px;

}
main .home-index ul{
    margin-left: -30px;

}
main .home-index ul li{
    margin-left: 30px;
    width: 330xp;
    height: 300px;
    float: left;
    text-align: center;
    overflow: hidden;
    position: relative;
}
main .home-index ul li img{
    height: 300px;
    width: 330px;
    transition: .5s;
}
main .home-index ul li:hover img{
    transform: scale(1.1);
}
main .home-index ul li p{
    display: inline-block;
    position: absolute;
    padding-top: 150px;
    font-size: 30px;
    height: 300px;
    width: 330px;
    left: 0;
    top: 0;
background-color: rgba(3, 3, 3, .3);
    color: white;

}
 









main .recipe-index{
     width: 1050px;
     margin: 0 auto;
     padding-top: 20px;
 }
 main .recipe-index a{
     
     
     float: left;
     width: 105px;
     height: 80px;
     text-align: center;
    
 }
 main .recipe-index a:hover{
     color: red;
 }
 main .recipe-index a img{
     display: block;
     margin: 0 auto 5px auto;
    width: 50px;
    height: 50px;
 }
 
 main .recipe-info{
    width: 1050px;
    margin: 0 auto;
    padding: 20px 0 5px 0;
    border-bottom: 1px solid rgba(3, 3, 3, .3);
}
main .recipe-info ul li{
    float: left;
    margin-right: 20px;
    font-size: 20px;
}
main .recipe-info ul .right{
    float: right;
    margin-right: 0;
    font-size: 16px;
}

main .recipe-info ul li a:hover{
    color: red;
}
main .recipe-info ul li:nth-of-type(1){
    color: red;
}
main .big-list{
    width: 1050px;
    padding-top: 20px;  
    margin: 0 auto;

}
main .big-list ul{
    margin-left: -30px;

}
main .big-list ul li{
    float: left;
    text-align: center;
    width: 240px;
    height: 240px;
    margin-left: 30px;

}
main .big-list ul li a i{
    display: block;
    width: 240px;
    height: 180px;
    margin-bottom: 10px;
    overflow: hidden;
    
}
main .big-list ul li a i img{
    width: 240px;
    height: 180px;
    margin-bottom: 5px;
    transition: .5s;
}
main .big-list ul li a i:hover img{
    transform: scale(1.1);
}
main .big-list ul li a p:hover{
    color: red;
}
 

.recipe-clear{
    text-align: center;
    width: 1050px;
    margin: 0 auto;
    padding: 30px;
}
.recipe-clear a input{
    padding: 5px 15px;
    font-size: 15px;
    border-radius: 3px;
    color: rgba(3, 3, 3, .7);
    height: 40px;
    width: 200px;

}

.recipe-clear a input:hover{
    color: white;
    background-color: rgba(49, 170, 144, 0.527);
}